#include "stdafx.h"
#include "TableFilter.h"
#include "InstanceTouch.h"
#include <math.h>
DECL_INSTANCE_TOUCH(ETouch_TableFilter);

struct  TableFilterReflectionRegister
{
	TableFilterReflectionRegister()
	{
		REGISTER_REFLECTION_MEMBER(TableFilter,m_iID,INVALID_ID).Editor_SetAsPrimaryKey();
		REGISTER_REFLECTION_MEMBER(TableFilter,m_sDisplayName,std::string("DefaultName")).Editor_SetAsDisplayName();
		REGISTER_REFLECTION_MEMBER(TableFilter,m_iOrder,0).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(TableFilter,m_vTableIDs,std::vector<int>()).Editor_SetAsForeignKeySet(eDefGroup_Default,eDefaultDef_TableList);

		GlobalClassManager::Instance().RegisterClass(TableFilter::s_GetReflection(),eDefaultDef_TableFilter);
		GlobalDefManager::Instance().RegisterDefManger(&TableFilterManager::Instance());

	}
}__tablefilterreflectionregister;

rewrite  void TableFilter::OnArchieveReaded()
{
	
}